package com.leyou.trade.service;

import com.leyou.trade.entity.CartItem;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface CartService  {

    void saveCartItem(CartItem cartItem);

    String buildId(Long skuId);

    List<CartItem> listUserCarts();


    void deleteCart(Long skuId);
}
